package com.hu.controller;

import com.hu.service.Server1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/aplication")
public class AplicatioonController {
    @Autowired
    Server1 s;
    @RequestMapping("/test")
    public String test(){
        System.out.println("test hello!");
        String s1=s.test01();
        System.out.println(s1);
        return "test  hello!";
    }
}
